//package com.ruoyi.mapper;
//
//import com.ruoyi.entity.AiChatSession;
//import com.ruoyi.entity.ChatCompletion;
//import reactor.core.publisher.Flux;
//
//import java.util.List;
//
//public interface DeepSeekMapper {
//
////    /**
////     * 基础对话
////     * @param prompt
////     * @return
////     */
////    String generate(String prompt);
////
////    /**
////     * 流式对话
////     * @param prompt
////     * @return
////     */
////    Flux<ChatCompletion> generateStream(String prompt);
//
//
//    String insertMessage(Long sessionId, String prompt);
//    List<AiChatSession> selectRecentSessions(Long userId);
//}
